<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>MGR-修改密码</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link th:href="@{/web/master/css/loginnew.css}" rel="stylesheet"/>
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>
</head>
<body>
<div class="container">
    <div class="login-form">
        <div class="text">修改密码</div>
        <form name="lgform" method="post" action="/base/alter">
            <div class="form-item">
                <input type="hidden" name="id" th:value="${cuser.id}">
                <input type="password" name="p1" placeholder="新密码">
                <input type="password" name="p2" placeholder="确认新密码">
            </div>
            <div class="btn" onclick="lgform.submit()">提交</div>
        </form>
        <div class="btn-back" style="color: red;" th:text="${msg}"></div>
        <div class="other">

        </div>
    </div>
</div>
</body>
</html>